package com.pet.petadoption.petstorage.biz;

import com.pet.petadoption.adoption.entity.Adoption;
import com.pet.petadoption.pet.entity.Pet;
import com.pet.petadoption.petstorage.entity.Petstorage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PetstorageBiz {
    List<Petstorage> findAll(Integer index, Integer size, Boolean isAdopted) ;
    Boolean delById(Integer id);

    Petstorage findById(Integer id,Boolean isAdopted);
    List<Petstorage> findByUname (String uname, Boolean isAdopted);
    Integer delArr( String ids);
    Boolean addStorage(Petstorage petstorage);
    Pet getPetId(Pet pet);
    Integer accessPetStroage( Integer id);
}
